package homework.ATM;

/**
 * 用户信息类
 */
public class User {
//    用户账号
    private  String account;
//    用户密码
    private  String pwd;
//    用户余额
    private  double balance;
    public User(){

    }
    public User(String account,String pwd,double balance){
        this.account = account;
        this.pwd = pwd;
        this.balance = balance;
    }
    public String getAccount(){

        return this.account;
    }
    public String getPwd(){

        return this.pwd;
    }
    public void setPwd(String pwd){

        this.pwd = pwd;
    }
    public Double getBalance(){

        return this.balance;
    }
    public void setBalance(double balance){

        this.balance = balance;
    }

}

